import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
// import VConsole from 'VConsole'

import  '@/utils/date' // 日期格式化

// import '@/style/reset.css'
import '@/style/index.less'

import 'lib-flexible/flexible'

import ripple from '@/directives/ripple/index'
Vue.use(ripple)

import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

import { Lazyload } from 'vant'
Vue.use(Lazyload, {
  loading: require('./assets/image/loading.gif'),
})

// if (process.env.NODE_ENV === `development`) {
//   new VConsole()
// }

new Vue({
	el: '#app',
	render: h => h(App),
  router,
  store
})
